<?php
/* @var $this GameController */
/* @var $model GameModel */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'game-model-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'description'); ?>
		<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'description'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'short_intro'); ?>
		<?php echo $form->textArea($model,'short_intro',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'short_intro'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'homepage'); ?>
		<?php echo $form->textArea($model,'homepage',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'homepage'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'provider_id'); ?>
		<?php echo $form->textField($model,'provider_id'); ?>
		<?php echo $form->error($model,'provider_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'release_time'); ?>
		<?php echo $form->textField($model,'release_time'); ?>
		<?php echo $form->error($model,'release_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'release_type'); ?>
		<?php echo $form->textArea($model,'release_type',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'release_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hot_status'); ?>
		<?php echo $form->textField($model,'hot_status'); ?>
		<?php echo $form->error($model,'hot_status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type'); ?>
		<?php echo $form->textArea($model,'type',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'context'); ?>
		<?php echo $form->textArea($model,'context',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'context'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'screen_style'); ?>
		<?php echo $form->textArea($model,'screen_style',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'screen_style'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'graphic_type'); ?>
		<?php echo $form->textArea($model,'graphic_type',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'graphic_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'platform'); ?>
		<?php echo $form->textArea($model,'platform',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'platform'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thumb'); ?>
		<?php echo $form->textArea($model,'thumb',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'thumb'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'icon'); ?>
		<?php echo $form->textArea($model,'icon',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'icon'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'screenshots'); ?>
		<?php echo $form->textArea($model,'screenshots',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'screenshots'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'vote'); ?>
		<?php echo $form->textField($model,'vote'); ?>
		<?php echo $form->error($model,'vote'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'status'); ?>
		<?php echo $form->textField($model,'status',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'create_time'); ?>
		<?php echo $form->textField($model,'create_time'); ?>
		<?php echo $form->error($model,'create_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'update_time'); ?>
		<?php echo $form->textField($model,'update_time'); ?>
		<?php echo $form->error($model,'update_time'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->